type runtime.mheap
24 uses
runtime (current package)
arena.go#L1006: func (h *mheap) allocUserArenaChunk() *mspan {
malloc.go#L637: func (h *mheap) sysAlloc(n uintptr, hintList **arenaHint, register bool) (v unsafe.Pointer, size uintptr) {
malloc.go#L876: func (h *mheap) enableMetadataHugePages() {
mgcsweep.go#L97: func (h *mheap) nextSpanForSweep() *mspan {
mheap.go#L61: type mheap struct {
mheap.go#L236: var mheap_ mheap
mheap.go#L518: h := (*mheap)(vh)
mheap.go#L739: func (h *mheap) init() {
mheap.go#L776: func (h *mheap) reclaim(npage uintptr) {
mheap.go#L856: func (h *mheap) reclaimChunk(arenas []arenaIdx, pageIdx, n uintptr) uintptr {
mheap.go#L951: func (h *mheap) alloc(npages uintptr, spanclass spanClass) *mspan {
mheap.go#L984: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L993: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1017: func (h *mheap) allocNeedsZero(base, npage uintptr) (needZero bool) {
mheap.go#L1082: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1105: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1137: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1169: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1382: func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages uintptr) {
mheap.go#L1470: func (h *mheap) grow(npage uintptr) (uintptr, bool) {
mheap.go#L1555: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1595: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1611: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1673: func (h *mheap) scavengeAll() {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |